<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>IFE JavaScript Task 01</title>
    <style>
        .wrapper {
            margin-top: 20px;
            text-align: center;
        }
        .waiting {
            display: inline-block;
            width: 15px;
            height: 15px;
            border-radius: 50%;
        }
        @keyframes redAnimation {
            0% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(120%);
            }
            100% {
                transform: translateX(0);
            }

        }
        @keyframes blueAnimation {
            0% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(-120%);
            }
            100% {
                transform: translateX(0);
            }

        }
        .red {
            background-color: rgb(252, 58, 70);
            animation: redAnimation 1.5s linear infinite;
        }
        .blue {
            background-color: rgb(0, 219, 67);
            animation: blueAnimation 1.5s linear infinite;
        }
    </style>
</head>
<body>
<div class="wrapper">
    <span class="waiting red"></span>
    <span class="waiting blue"></span>
</div>
</body>
</html>